list1 = [1, 8, 6, 5, 7]
f = lambda x: x + 1
list2 = list(map(f, list1))
print(list2)

list2 = list(map(lambda x: x + 1, list1))
print(list2)
